const path = require('path');

// 获取运行时的目录
// node中的api
const appDir = process.cwd();

const resolveApp = (relativePath) => path.resolve(appDir, relativePath);

module.exports = resolveApp;
